All Questions
2 questions
0votes
2answers
493views
How to do find and replace strings on file after it is being modified
Trying to achieve following: 1) New file gets uploaded with the same file name but with new content 2) Event triggers that checks the file for specific strings and replaces them 3) The file can be ...
3votes
5answers
1kviews
Replacing lines in files with file contents
I have several files which contain some PHP includes and I want to substitute them with the file contents. The file looks like foo <?php include("file1.php"); ?> bar baz <?php include("file2....